package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.io.FileNotFoundException;
import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class RuoYiApplication
{
    public static void main(String[] args) throws UnknownHostException, FileNotFoundException {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        String localIP = InetAddress.getLocalHost().getHostAddress();
        System.out.println("(♥◠‿◠)ﾉﾞ 脚本启动成功！   ლ(´ڡ`ლ)ﾞ  \n" +
                " 访问地址： "+localIP+":8080 \n"
        );
    }
}